#ifndef CITY_ADD_DIALOG_H
#define CITY_ADD_DIALOG_H

#include <QDialog>
#include"city.h"
#include<QMessageBox>
#include<QSet>
namespace Ui {
class city_add_Dialog;
}

class city_add_Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit city_add_Dialog(QSet<QString>& city_name, QSet<QString>& country_name,QWidget *parent = nullptr);
    ~city_add_Dialog();

    City getcit();
private slots:
    void on_pushButton_canle_clicked();

    void on_pushButton_ok_clicked();

private:
    Ui::city_add_Dialog *ui;
    City cit;
    QSet<QString> city_name;
    QSet<QString> country_name;
};

#endif // CITY_ADD_DIALOG_H
